-- GENERATED SPELL FOR [Snow Tracker Haloke] --


function spell0_26768(pUnit, Event) --@Frost Shot,n/a--
pUnit:FullCastSpellOnTarget(18802,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26768', 10258, 1)
end

function Sorts_26768(pUnit, Event)
local choix_sorts_26768 = math.random(0, 0)
if choix_sorts_26768 == 0 then
pUnit:RegisterEvent('spell0_26768', 1, 1)
end
end

function mob26768_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26768', math.random(1500, 3000), 1)
end

function mob26768_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26768_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26768_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26768, 1, 'mob26768_Action')
RegisterUnitEvent(26768, 2, 'mob26768_Leave')
RegisterUnitEvent(26768, 3, 'mob26768_Kill')
RegisterUnitEvent(26768, 4, 'mob26768_Die')
